/*==============================================================================
**                                  LINDBOARD
**                      Proprietary - Copyright (C) 2014
**                      www.facebook.com/lindboard
**------------------------------------------------------------------------------
** Supported MCUs      : MCU STM32
** Supported Compilers : KeilC
**------------------------------------------------------------------------------
** File name         : ComM_Cfg.c
**  
** Module name       : Communication Management
**
** Summary: Source file of configuration ComM
**
**= History ===================================================================
** 00.00.01  15/1/2014  Cuong Chu
**           - Creation
** 00.00.01  28/7/2014  Cuong Chu
**           - Added COM3,COM4,COM5 configures
==============================================================================*/
/******************************************************************************/
/* INCLUSIONS                                                                 */
/******************************************************************************/
#include "ComM/ComM_Cfg.h"
#include "stm32f10x.h"
/******************************************************************************/
/* DEFINITION OF GLOBAL VARIABLE                                              */
/******************************************************************************/
const ComM_PortConfigType ComM_PortConfig[COMM_NBR_COM] = 
{
  {
    COM1,
    DV_COM_BAUD_115200,
    USART1_IRQn,
    DV_COM_P_1
  },
  {
    COM2,
    DV_COM_BAUD_115200,
    USART2_IRQn,
    DV_COM_P_2
  }
  ,
  {
    COM3,
    DV_COM_BAUD_115200,
    USART3_IRQn,
    DV_COM_P_3
  }
  ,
  {
    COM4,
    DV_COM_BAUD_115200,
    UART4_IRQn,
    DV_COM_P_1
  }
  ,
  {
    COM5,
    DV_COM_BAUD_115200,
    UART5_IRQn,
    DV_COM_P_2
  }
};

